package com.sfy.core.example.fault.tolerant;

import com.sfy.core.example.model.RpcResponse;

import java.util.Map;

public class FailFastTolerantStrategy implements TolerantStrategy {


    @Override
    public RpcResponse doTolerant(Map<String, Object> context, Exception e) {
        throw  new RuntimeException("服务报错",e);
    }
}
